home *** CD-ROM | disk | FTP | other *** search
- Path: news.rain.org!usenet
- From: "Guus Leeuw jr." <guusl@eiffel.com>
- Newsgroups: comp.lang.c
- Subject: Re: Calling System Command in SUN C
- Date: Tue, 12 Mar 1996 08:46:00 -0800
- Organization: Interactive Software Engineering Inc. http://www.eiffel.com/
- Message-ID: <3145AA48.7DBF442F@eiffel.com>
- References: <4i1hlu$asm@ni1.ni.net>
- NNTP-Posting-Host: @outback.eiffel.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.8 i586)
-
- Ed Thomson wrote:
- >
- > I was wondering if anyone could help me with this problem.
- >
- > I am new to SUN C and am using version 3.0.1.
- >
- > I would like to execute a system command such as mail or a shell
- > script I have generated and was wondering if anyone knew of an easy
- > way to do this within C.
- >
-
- Remember Commandment 7?
- "Thou shalt study thy libraries and strive not te reivent without cause,
- that thy code may be short and readable and thy days pleasant and
- productive."
-
- Remember C-FAQ 19.27?
- "How can I invoke another program (a standalone executable, or an
- operating system command) from within a C program?"
-
- Hope this gives some on where to look firsst before posting.
- I don't Steve is putting much of his valuable time doing the FAQ for
- nothing more then time and time again seeing the same question.
-
- It's there to helps you out, use it. It's free!!
-